
#ifndef LOD_POINT4_H
#define LOD_POINT4_H

#include "point3.h"

template<class co_type>
class point4 : public point3<co_type>
{
    public:
    co_type w;

    point4(co_type X, co_type Y, co_type Z, co_type W)
     : point3<co_type>(X,Y,Z),
       w(W)
    {
    }

    point4(const co_type* c)
     : point3<co_type>(c)
    {
        w = c[3];
    }

    point4()
    {
    }
};

#endif // LOD_POINT4_H
